package carsa.board;


public class BoardDto {
	/*
	 * create table board
				(
				board_no number(10) not null primary key,
				board_name varchar2(10) not null,
				board_title varchar2(100) not null,
				board_content varchar2(4000) not null,
				board_date sysdate,
				board_group_no number(10) not null,
				board_level number(10) not null,
				board_step number(10) not null,
				board_ref number(10) not null,
				board_filename varchar2(20)
				);
	 */
	private static BoardDto dto;
	
	private int board_no;
	private String board_name;
	private String board_title;
	private String board_content;
	private String board_date;
	private int board_group_no;
	private int board_level;
	private int board_step;
	private int board_ref;
	private String board_filename;
	
	
	public BoardDto(int board_no, String board_name, String board_title,
			String board_content, String board_date, int board_group_no,
			int board_level, int board_step, int board_ref,
			String board_filename) {
		super();
		this.board_no = board_no;
		this.board_name = board_name;
		this.board_title = board_title;
		this.board_content = board_content;
		this.board_date = board_date;
		this.board_group_no = board_group_no;
		this.board_level = board_level;
		this.board_step = board_step;
		this.board_ref = board_ref;
		this.board_filename = board_filename;
	}

	@Override
	public String toString() {
		 return board_no+"  "+board_name+"  "+board_title+"  "+board_content+"  "+
				 board_date+"  "+board_group_no+"  "+board_level+"  "+board_step+"  "+board_ref+"  "+board_filename;
	}
	public int getBoard_no() {
		return board_no;
	}
	public void setBoard_no(int board_no) {
		this.board_no = board_no;
	}
	public String getBoard_name() {
		return board_name;
	}
	public void setBoard_name(String board_name) {
		this.board_name = board_name;
	}
	public String getBoard_title() {
		return board_title;
	}
	public void setBoard_title(String board_title) {
		this.board_title = board_title;
	}
	public String getBoard_content() {
		return board_content;
	}
	public void setBoard_content(String board_content) {
		this.board_content = board_content;
	}
	public String getBoard_date() {
		return board_date;
	}
	public void setBoard_date(String board_date) {
		this.board_date = board_date;
	}
	public int getBoard_group_no() {
		return board_group_no;
	}
	public void setBoard_group_no(int board_group_no) {
		this.board_group_no = board_group_no;
	}
	public int getBoard_level() {
		return board_level;
	}
	public void setBoard_level(int board_level) {
		this.board_level = board_level;
	}
	public int getBoard_step() {
		return board_step;
	}
	public void setBoard_step(int board_step) {
		this.board_step = board_step;
	}
	public int getBoard_ref() {
		return board_ref;
	}
	public void setBoard_ref(int board_ref) {
		this.board_ref = board_ref;
	}
	public String getBoard_filename() {
		return board_filename;
	}
	public void setBoard_filename(String board_filename) {
		this.board_filename = board_filename;
	}
	
	

}
